import {createRouter, createWebHashHistory} from 'vue-router'
// import Login from '../views/Login.vue'
import views from "@/views";





const router = createRouter({
  history: createWebHashHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/login',
      name: 'login',
      component: views.Login
    },
    {
      path: '/register',
      name: 'register',
      component: views.Register
    },
  ]
})

export default router
